/*
 *代码由框架生成,任何更改都可能导致被代码生成器覆盖
 *如果数据库字段发生变化，请在代码生器重新生成此Model
 */
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using VolPro.Entity.SystemModels;

namespace VolPro.Entity.DomainModels
{
    [Entity(TableCnName = "操作员管理",TableName = "Tb_UsersInfo",DBServer = "SysDbContext")]
    public partial class Tb_UsersInfo:SysEntity
    {
        /// <summary>
       ///主键
       /// </summary>
       [Key]
       [Display(Name ="主键")]
       [MaxLength(50)]
       [Column(TypeName="varchar(50)")]
       [Editable(true)]
       [Required(AllowEmptyStrings=false)]
       public string GUID { get; set; }

       /// <summary>
       ///分组GUID
       /// </summary>
       [Display(Name ="分组GUID")]
       [MaxLength(50)]
       [Column(TypeName="varchar(50)")]
       [Editable(true)]
       public string UesrGroupGuid { get; set; }

       /// <summary>
       ///操作员编号
       /// </summary>
       [Display(Name ="操作员编号")]
       [MaxLength(50)]
       [Column(TypeName="varchar(50)")]
       [Editable(true)]
       [Required(AllowEmptyStrings=false)]
       public string UserCode { get; set; }

       /// <summary>
       ///操作员名称
       /// </summary>
       [Display(Name ="操作员名称")]
       [MaxLength(50)]
       [Column(TypeName="varchar(50)")]
       [Editable(true)]
       [Required(AllowEmptyStrings=false)]
       public string UserName { get; set; }

       /// <summary>
       ///操作员密码
       /// </summary>
       [Display(Name ="操作员密码")]
       [MaxLength(50)]
       [Column(TypeName="varchar(50)")]
       [Editable(true)]
       [Required(AllowEmptyStrings=false)]
       public string UserPassWord { get; set; }

       /// <summary>
       ///工作类型
       /// </summary>
       [Display(Name ="工作类型")]
       [Column(TypeName="int")]
       [Editable(true)]
       public int? WorkType { get; set; }

       /// <summary>
       ///是否锁定
       /// </summary>
       [Display(Name ="是否锁定")]
       [Column(TypeName="int")]
       [Editable(true)]
       public int? IsLock { get; set; }

       /// <summary>
       ///状态
       /// </summary>
       [Display(Name ="状态")]
       [Column(TypeName="int")]
       [Editable(true)]
       public int? State { get; set; }

       /// <summary>
       ///创建人主键
       /// </summary>
       [Display(Name ="创建人主键")]
       [MaxLength(50)]
       [Column(TypeName="varchar(50)")]
       [Editable(true)]
       public string CREATEGUID { get; set; }

       /// <summary>
       ///创建人名称
       /// </summary>
       [Display(Name ="创建人名称")]
       [MaxLength(50)]
       [Column(TypeName="varchar(50)")]
       [Editable(true)]
       public string CREATENAME { get; set; }

       /// <summary>
       ///创建时间
       /// </summary>
       [Display(Name ="创建时间")]
       [Column(TypeName="datetime")]
       [Editable(true)]
       public DateTime? CREATEDATE { get; set; }

       
    }
}